<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <link rel="icon" href="./favicon.jpg" type="image/x-icon" />
  <link rel="stylesheet" href="./common/common.css">
  <!-- <script type="text/javascript" src="https://api.map.baidu.com/api?ak=gGamrj9UPhMPn2T8UY3hG4kvqo7biSWA"></script> -->
  <!-- <script type="text/javascript" src="//api.map.baidu.com/api?v=2.0&ak=F3r6Hq4h8j1TcG8sahZVYjIjgzSs1t7G"></script> -->
  <script type="text/javascript" src="//api.map.baidu.com/library/CurveLine/1.5/src/CurveLine.min.js"></script>
  <script src="./common/jquery-1.11.3.min.js"></script>
  <script src="./common/touch-simulator.js"></script>
  <style>
    * {
      padding: 0;
      margin: 0;
      list-style: none;
      font-family: PingFang SC;
      /* -webkit-touch-callout: none;
      -webkit-user-select: none;
      -khtml-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none */
    }
  </style>
  <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
  <!--[if lt IE 9]> 
      <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> 
    <![endif]-->
  <script>
    // console.log("地图",BMapGL)
    //解决IE10以下不支持Function.bind
    if (!Function.prototype.bind) {
      Function.prototype.bind = function (oThis) {
        if (typeof this !== "function") {
          throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
        }
        var aArgs = Array.prototype.slice.call(arguments, 1),
          fToBind = this,
          fNOP = function () { },
          fBound = function () {
            return fToBind.apply(this instanceof fNOP && oThis ? this : oThis,
              aArgs.concat(Array.prototype.slice.call(arguments)));
          };
        fNOP.prototype = this.prototype;
        fBound.prototype = new fNOP();
        return fBound;
      };
    }
  </script>
  <title>物流管理系统</title>
</head>

<body>
  <div id="loader-wrapper">
    <div id="loader"></div>
    <div class="loader-section section-left"></div>
    <div class="loader-section section-right"></div>
    <div class="load_title">正在加载，请耐心等待...</div>
    <el-dialog></el-dialog>
  </div>
  <script type="text/javascript">
    document.body.onclick = function (evt) {
      evt = evt || window.event;
    }

    if (!Array.from) {
      Array.from = function (el) {
        return Array.apply(this, el);
      }
    } 
  </script>
  <div id="app"></div>

  <!-- <script type="text/javascript" src="./common/OverlayScrollbars.js"></script> -->
  <script>
    this.$navigator = null;
    var IEVersion = function () {
      var userAgent = navigator.userAgent;
      var isLessIE11 = userAgent.indexOf('compatible') > -1 && userAgent.indexOf('MSIE') > -1;
      var isEdge = userAgent.indexOf('Edge') > -1 && !isLessIE11;
      var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf('rv:11.0') > -1;
      if (isLessIE11) {
        var IEReg = new RegExp('MSIE (\\d+\\.\\d+);');
        IEReg.test(userAgent);
        var IEVersionNum = parseFloat(RegExp['$1']);
        if (IEVersionNum === 7) {
          // IE7
          this.$navigator =false;
        } else if (IEVersionNum === 8) {
          // IE8
          this.$navigator =false;
        } else if (IEVersionNum === 9) {
          // IE9
          this.$navigator =false;
        } else if (IEVersionNum === 10) {
          // IE10
          this.$navigator =false;
        } else {
          // IE版本<7
          this.$navigator =false;
        }
      } else if (isEdge) {
        // edge
        this.$navigator =false;
      } else if (isIE11) {
        // IE11
        this.$navigator =false;
      } else {
        // 不是ie浏览器
        this.$navigator =true;
      }
    }
    IEVersion();
    function myBrowser() {
      var userAgent = navigator.userAgent // 取得浏览器的userAgent字符串
      if (userAgent.indexOf('MSIE 8.0') > -1 || userAgent.indexOf('rv:11.0) like Gecko') > -1) {
        var r = confirm('系统暂不支持IE，建议使用谷歌浏览器！\n 去官网下载谷歌浏览器。')
        if (r === true) {
          $('#loader-wrapper').css({ display: 'block' })
          $('#app').css({ display: 'none' })
          var google = "https://www.google.cn/intl/zh-CN/chrome/"
          window.open(google)
        } else {
          $('#loader-wrapper').css({ display: 'none' })
        }
      } else {
      }
    }
    myBrowser()
  </script>
  <script>
    window.changeViewSize = function () {
      $('#app,.app-view-left').css({
        height: $(window).height()
      })
      $('.index .r-view').css({
        height: $(window).height()
      })
    }
    function setRem() {
      var htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;  //检测html的屏幕宽度和body的屏幕宽度
      document.documentElement.style.fontSize = htmlWidth / 7.5 + 'px'; //设置font-size在750屏幕下的尺寸为100px,这样转换的rem可以一目了然之前是多少px的。开发屏幕尺寸自己选，3.2的320屏幕宽也可以。
    }
    window.onload = function () {
      window.changeViewSize();
    }
    window.onresize = function () {
      window.changeViewSize();
    }
  </script>
</body>

</html>